package com.aynu.webshop.web.dao;

import java.util.List;

import com.aynu.webshop.core.generic.GenericDao;
import com.aynu.webshop.web.model.Admin;

public interface AdminMapper extends GenericDao<Admin, Integer>{
    int deleteByPrimaryKey(Integer aId);

    int insert(Admin record);

    int insertSelective(Admin record);

    Admin selectByPrimaryKey(Integer aId);

    int updateByPrimaryKeySelective(Admin record);

    int updateByPrimaryKey(Admin record);
    
    List<Admin> findAll();

	Admin findByAname(String aname);
}